package com.thinksns.sociax.t4.model;

/**
 * @author LeiYan
 * @describe 用于 EventBus 通信
 * @date 2017/7/26
 * @contact email:907238552@qq.com
 */

public class EventBusModel<T> {
    private int type;
    private T bean;
    private String data;

    public EventBusModel() {
    }

    public EventBusModel(int type, T bean) {
        this.type = type;
        this.bean = bean;
    }

    public EventBusModel(int type, String data) {
        this.type = type;
        this.data = data;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public T getBean() {
        return bean;
    }

    public void setBean(T bean) {
        this.bean = bean;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
}
